<div ng-controller="Umbraco.PropertyEditors.TagsController" class="umb-editor umb-tags">

    <div ng-if="isLoading">
        Loading...
    </div>

    <div ng-if="!isLoading">
        <span ng-repeat="tag in currentTags" ng-click="removeTag(tag)" class="label label-primary tag">
            <span ng-bind-html="tag"></span>
            <i class="icon icon-delete"></i>
        </span>

        <input type="text"
               class="typeahead tags-{{model.alias}}"
               ng-model="$parent.tagToAdd"
               ng-keydown="$parent.addTag($event)"
               placeholder="Type to add tags.." />
    </div>
</div>